<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">


    <title>友情链接修改</title>


    <link rel="shortcut icon" href="__PUB__/favicon.ico"> 
    <link href="__CSS__/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">
    <link href="__CSS__/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">
    <link href="__CSS__/plugins/iCheck/custom.css" rel="stylesheet">
    <link href="__CSS__/animate.min.css" rel="stylesheet">
    <link href="__CSS__/style.min862f.css?v=4.1.0" rel="stylesheet">

</head>

<body class="gray-bg">
    <div class="wrapper wrapper-content animated fadeInRight">
      <div class="ibox-title">
	       <h5>友情链接修改</h5>
        </div>
        <div class="row">
            <div class="col-sm-12">
                <div class="ibox float-e-margins">
 
                    <div class="ibox-content">
                        <form method="post" class="form-horizontal" action ="{:U('Link/edt')}">
                      	    <input type="hidden" name="id" value="{$link.id}" />

                             <div class="form-group">
                                <label class="col-sm-2 control-label">公司名称</label>

                                <div class="col-sm-10">
                                    <input type="text" class="form-control" name ="company" value="{$link.company}">
                                </div>
                            </div>
                             <div class="form-group">
                                <label class="col-sm-2 control-label">公司网站</label>

                                <div class="col-sm-10">
                                    <input type="text" class="form-control" name ="url" value ="{$link.company_url}">
                                </div>
                            </div>
                          	<div class="form-group">
                                <label class="col-sm-2 control-label">状态</label>

                                <div class="col-sm-10">
                                    <div class="radio">
                                        <label>
                                            <input type="radio" style="margin-top: 2px;"<if condition="$link[status] eq 1"> checked="checked" </if> value="1" id="optionsRadios1" name="status">启用
                                        </label>
                                        <label>
                                            <input type="radio" style="margin-top: 2px;"<if condition="$link[status] eq 0"> checked="checked" </if> value="0"id="optionsRadios2" name="status">不启用
                                        </label>
                                    </div>
                                </div>
                            </div> 

                            <input type="submit" value="确定修改" class ="btn btn-sm btn-primary" style ="margin: 0 0 0 400px;"/>
                       </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <script src="__JS__/jquery.min.js?v=2.1.4"></script>
    <script src="__JS__/bootstrap.min.js?v=3.3.6"></script>
    <script src="__JS__/content.min.js?v=1.0.0"></script>
    <script src="__JS__/plugins/iCheck/icheck.min.js"></script>
</body>

</html>
